//package com.simple.auth.config;
//
//import org.springframework.context.annotation.Configuration;
//import org.springframework.security.oauth2.config.annotation.configurers.ClientDetailsServiceConfigurer;
//import org.springframework.security.oauth2.config.annotation.web.configuration.AuthorizationServerConfigurerAdapter;
//import org.springframework.security.oauth2.config.annotation.web.configuration.EnableAuthorizationServer;
//
///**
// * 授权服务器配置
// *
// * @author Administrator
// * @date 2021/01/05 10:43:26
// */
//@Configuration
//@EnableAuthorizationServer
//public class AuthorizationServerConfig extends AuthorizationServerConfigurerAdapter {
//    @Override
//    public void configure(ClientDetailsServiceConfigurer clients) throws Exception {
//        clients.inMemory()
//                .withClient("simp1ezzz")
//                .secret("123")
//                .redirectUris("https://www.baidu.com")
//                .authorizedGrantTypes("authorization_code")
//                .scopes("app");
//    }
//}
